package com.echo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 问题的难易度级别
 * </p>
 *
 * @author echo
 * @since 2024-10-31
 */
@TableName("question_level")
public class QuestionLevel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题目难易度的主键
     */
    @TableId(value = "question_level_id", type = IdType.AUTO)
    private Integer questionLevelId;

    /**
     * 题目难易度名称
     */
    private String questionLevelName;

    /**
     * 题目难易度的描述
     */
    private String questionLevelDescription;

    public Integer getQuestionLevelId() {
        return questionLevelId;
    }

    public void setQuestionLevelId(Integer questionLevelId) {
        this.questionLevelId = questionLevelId;
    }
    public String getQuestionLevelName() {
        return questionLevelName;
    }

    public void setQuestionLevelName(String questionLevelName) {
        this.questionLevelName = questionLevelName;
    }
    public String getQuestionLevelDescription() {
        return questionLevelDescription;
    }

    public void setQuestionLevelDescription(String questionLevelDescription) {
        this.questionLevelDescription = questionLevelDescription;
    }

    @Override
    public String toString() {
        return "QuestionLevel{" +
            "questionLevelId=" + questionLevelId +
            ", questionLevelName=" + questionLevelName +
            ", questionLevelDescription=" + questionLevelDescription +
        "}";
    }
}
